﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;


namespace UrnaVirtual.Presentacion.Models
{
    public class VotoViewModel
    {
        [Required]
        [DisplayName("INGRESE EL NUMERO DE DOCUMENTO :")]
        [Range(10000, int.MaxValue, ErrorMessage = "Please enter valid DNI")]
        public int DNI { get; set; }

        public int Selected { get; set; }
        public List<Candidato> Candidatos { get; set; }

    }
}